<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="header.jsp"%>
<div class="container">
    <div class="grid-960">
        <!-- 支付订单详情 -->
        <jsp:include page="../content/orderDtl.jsp" flush="true"/>
        <div class="payment-mode">
            <form name="ToBisForm" id="ToBisForm" action="${bisUrl }/goBank.shtml" method="post" >
                <table class="table-tml">
                    <tbody>
                    <tr>
                        <td style="text-align: right"><label>支付银行：</label></td>
                        <td style="text-align: left"><img width='190' height='36' src="${ctx }/BankIcon/${bank}.jpeg" /></td>
                    </tr>
                    <tr>
                        <td style="text-align: right">
                            <input type="hidden" name="orderId" value="${orderId}">
                            <input type="hidden" name="amount" value="${amount}">
                            <input type="hidden" name="orderDate" value="${orderDate}">
                            <input type="hidden" name="userType" value="${userType}">
                            <input type="hidden" name="bank" value="${bank}">
                            <input type="hidden" name="payAccNo" value="${payAccNo}">
                            <input type="hidden" name="orderName" value="${orderName}">
                            <input type="hidden" name="bankBusProd" value="${bankBusProd}">
                            <input type="hidden" name="paymentAccInfo" value="${paymentAccInfo}">
                            <label id="custNO">${b2bLabelName}</label>：
                        </td>
                        <td style="text-align: left">
                            <input type="text" name="specialCode" id="specialCode">
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td style="text-align: left">
                            <button type="button" class="btn-1" onclick='submitToBis();'>提 交</button>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
</div>
<%@include file="footer.jsp"%>

<script type="text/javascript">
    function submitToBis(){
        var labelName = '${b2bLabelName}';
        var specialCode = $("#specialCode").val();
        if($.trim(specialCode) == ''){
            alert("请输入 "+labelName);
        }else{
            $("#ToBisForm").submit();
        }
    }
</script>
